package com.aya.simple.spring;

import org.springframework.context.ApplicationEvent;

import java.util.ArrayList;
import java.util.List;

public class WeatherSubject extends ApplicationEvent {


    public WeatherSubject(Object source) {
        super(source);
    }

    private String temperature;
    private String humidity;

    public String getTemperature() {
        return temperature;
    }

    public void setTemperature(String temperature) {
        this.temperature = temperature;
    }

    public String getHumidity() {
        return humidity;
    }

    public void setHumidity(String humidity) {
        this.humidity = humidity;
    }
}
